/**
 * Created by Administrator on 2017/10/11
 */

import {WeaTools} from 'ecCom';
export const getWfRequestList = params => {
    return WeaTools.callApi('/api/workflow/reqlist/getList', 'POST', params);
}
//初始化列表
export const doWorkflowShareListPost = params => {
    return WeaTools.callApi('/api/workflow/share/sharelist', 'POST', params);
};
//添加
export const doWorkflowAddSharePost = params => {
    return WeaTools.callApi('/api/workflow/share/addshare', 'POST', params);
};
//删除
export const doWorkflowDeleteSharePost = params => {
    return WeaTools.callApi('/api/workflow/share/deleteshare', 'POST', params);
};
// 批量共享添加
export const doWorkflowAddShareBatch = params => {
    return WeaTools.callApi('/api/workflow/share/addbatchshare', 'POST', params)
};